package com.springboot.eurekacosumerdemo.config;

import com.springboot.eurekacosumerdemo.pojo.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("eureka-provider")
public interface RemoteService {

    @GetMapping("/getGoods")
    Goods getGoods();
}
